import http from '@/util/axios'
// import type {} from './type';

// 统一管理接口
enum API {
  ENTRYDYNAMIC = '/platform-entry/api/workbench/operation_log/list',
  LIST = '/platform-entry/api/workbench/rubiao_process_statistics',
  DATASTATISTICS = '/platform-entry/api/workbench/index_title_statistics',
}
/**
 * @method 流程图数据展示
 */
export function flowChartData_get(params?:any){
  return http.get(API.LIST,params)
}

/**
 * @method 获取资源管理列表
 */
export const entryDynamicList = (params:any) => http.get(API.ENTRYDYNAMIC, { params });

/**
 * @method 数据统计
 */
export const dataStatistics = () => http.get(API.DATASTATISTICS);